package com.yyysj.friend.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yyysj.common.core.domain.BaseEntity;
import lombok.Data;

@Data
@TableName(("tb_post"))
public class Post extends BaseEntity {
    @TableId(value = "POST_ID", type = IdType.ASSIGN_ID)
    private Long postId;

    private Long userId;

    private String title;

    private String content;

    private Integer likeCount;

    private Integer viewCount;

    private Integer commentCount;

    private Integer status;
}
